﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="hrainwebbase.index" %>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="Bookmark" href="hcrain.ico">
    <link rel="Shortcut Icon" href="hcrain.ico" />
    <!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<script type="text/javascript" src="lib/PIE_IE678.js"></script>
<![endif]-->
    <link href="css/H-ui.min.css" rel="stylesheet" type="text/css" />
    <link href="css/H-ui.admin.css" rel="stylesheet" type="text/css" />
    <link href="skin/default/skin.css" rel="stylesheet" type="text/css" id="skin" />
    <link href="lib/Hui-iconfont/1.0.1/iconfont.css" rel="stylesheet" type="text/css" />
    <link href="css/style.css" rel="stylesheet" type="text/css" />
    <!--[if IE 6]>
<script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
    <title>监控型信息化质量溯源系统</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
</head>
<body>
    <header class="Hui-header cl">
        <a class="Hui-logo l" title="生产追溯管理系统" href="#">生产追溯管理系统</a>
        <%--<a class="Hui-logo-m l" href="/" title="追雨潮">追雨潮</a> <span class="Hui-subtitle l">^_^</span>--%>
        <nav class="mainnav cl" id="Hui-nav">
            <ul>
                <li class="dropDown dropDown_click"><a href="javascript:;" class="dropDown_A"><i class="Hui-iconfont">&#xe600;</i> 快捷操作 <i class="Hui-iconfont">&#xe6d5;</i></a>
                    <ul class="dropDown-menu radius box-shadow">
                        <li><a href="javascript:;" onclick="article_add('按任务顺查','hsctask/re_taskworkAllShow.html')"><i class="Hui-iconfont">&#xe616;</i> 顺查</a></li>
<%--                        <li><a href="javascript:;" onclick="picture_add('按有机码倒查','hsctaskprocess/reviewBack.html')"><i class="Hui-iconfont">&#xe613;</i> 倒查A</a></li>--%>
                        <li><a href="javascript:;" onclick="picture_add('按有机码倒查','hsctaskprocess/reviewBackNew.html')"><i class="Hui-iconfont">&#xe613;</i> 倒查</a></li>
                       
     <%--                   <li><a href="javascript:;" onclick="product_add('添加资讯','product-add.html')"><i class="Hui-iconfont">&#xe620;</i> 产品</a></li>
                        <li><a href="javascript:;" onclick="member_add('添加用户','member-add.html','','510')"><i class="Hui-iconfont">&#xe60d;</i> 用户</a></li>--%>
                    </ul>
                </li>
                <li><a href="http://www.goldrock.com.cn/" class="dropDown_A" style="color: yellow;">官网</a></li>
                <li>
                    <label id="hcrainpagefullId" onclick="hcrainpagefull()" style="color: black; font: bold:500;">全屏</label></li>
          
            </ul>

        </nav>
        <ul class="Hui-userbar">
            <li>当前人员</li>
            <li class="dropDown dropDown_hover"><a href="#" class="dropDown_A"><%=this.OrgName %> <%=this.DepName %> <%=this.EmpName %> <i class="Hui-iconfont">&#xe6d5;</i></a>
                <ul class="dropDown-menu radius box-shadow">
                    <li><a href="#" onclick="member_passwork()">个人信息</a></li>
                    <li><a href="#" onclick="loginout()">退出</a></li>
                </ul>
            </li>
            <li id="Hui-msg"><a href="#" title="消息" onclick="javascript:showmessage();"><span class="badge badge-danger">
                <label id="lbmessage">0</label></span><i class="Hui-iconfont" style="font-size: 18px">&#xe68a;</i></a> </li>
            <li id="Hui-skin" class="dropDown right dropDown_hover"><a href="javascript:;" title="换肤"><i class="Hui-iconfont" style="font-size: 18px">&#xe62a;</i></a>
                <ul class="dropDown-menu radius box-shadow">
                    <li><a href="javascript:;" data-val="default" title="默认（蓝色）">默认（蓝色）</a></li>
                    <li><a href="javascript:;" data-val="break" title="黑色">黑色</a></li>
                    <li><a href="javascript:;" data-val="green" title="绿色">绿色</a></li>
                    <li><a href="javascript:;" data-val="red" title="红色">红色</a></li>
                    <li><a href="javascript:;" data-val="yellow" title="黄色">黄色</a></li>
                    <li><a href="javascript:;" data-val="orange" title="绿色">橙色</a></li>
                </ul>
            </li>
        </ul>
        <a aria-hidden="false" class="Hui-nav-toggle" href="#"></a>
    </header>
    <aside class="Hui-aside">
        <input runat="server" id="divScrollValue" type="hidden" value="" />
        <div class="menu_dropdown bk_2" id="divtest">
            <%=htmlinfo %>
        </div>
    </aside>
    <div class="dislpayArrow"><a class="pngfix" href="javascript:void(0);" onclick="displaynavbar(this)"></a></div>
    <section class="Hui-article-box">
        <div id="Hui-tabNav" class="Hui-tabNav">
            <div class="Hui-tabNav-wp">
                <ul id="min_title_list" class="acrossTab cl">
                    <li><span title="我的桌面-双击可关闭其它界面" data-href="welcome.html">我的桌面</span><em></em></li>
                    <%-- <li class="active"><span title="" data-href="http://www.2345.com/?k22279189">娱乐导航</span><em></em></li>--%>
                </ul>
            </div>
            <div class="Hui-tabNav-more btn-group"><a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i></a><a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d7;</i></a></div>
        </div>
        <div id="iframe_box" class="Hui-article">
            <div class="show_iframe">
                <div style="display: none" class="loading"></div>
                <iframe scrolling="yes" frameborder="0" src="welcome.html"></iframe>

            </div>
            <%--  <div class="show_iframe">
                <div style="display: none" class="loading"></div>

                <iframe scrolling="yes" frameborder="0" src="http://www.2345.com/?k22279189"></iframe>
            </div>--%>
        </div>
    </section>
    <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="js/hc.js"></script>
    <%--  <script type="text/javascript" src="js/Httpcomet.js"></script>--%>
    <script type="text/javascript" src="lib/layer/1.9.3/layer.js"></script>
    <script type="text/javascript" src="js/H-ui.js"></script>
    <script type="text/javascript" src="js/H-ui.admin.js"></script>

    <script type="text/javascript">
        HCUser = createObject("sys");
        var hcrainpagefulltype = 0;
        function hcrainpagefull() {
            var docElm = document.documentElement;
            if (hcrainpagefulltype == 0) {
                $("#hcrainpagefullId").text("退出全屏");
                hcrainpagefulltype = 1;
                //W3C  
                if (docElm.requestFullscreen) {
                    docElm.requestFullscreen();
                }
                    //FireFox  
                else if (docElm.mozRequestFullScreen) {
                    docElm.mozRequestFullScreen();
                }
                    //Chrome等  
                else if (docElm.webkitRequestFullScreen) {
                    docElm.webkitRequestFullScreen();
                }
                    //IE11
                else if (elem.msRequestFullscreen) {
                    elem.msRequestFullscreen();
                }
            }
            else {
                $("#hcrainpagefullId").text("全屏");
                hcrainpagefulltype = 0;
                if (document.exitFullscreen) {
                    document.exitFullscreen();
                }
                else if (document.mozCancelFullScreen) {
                    document.mozCancelFullScreen();
                }
                else if (document.webkitCancelFullScreen) {
                    document.webkitCancelFullScreen();
                }
                else if (document.msExitFullscreen) {
                    document.msExitFullscreen();
                }
            }
        }
        // $(function () { creatIframehc('http://www.2345.com/?k22279189', '其它页面'); });
        //function bind() {
        //    $.ajax({
        //        type: "get",
        //        //dataType: "json",
        //        url: "../ashx/GetMenuList.ashx",
        //        data: { model: "byrole" },
        //        cache: false,
        //        error: function (data) {
        //            alert("加载菜单错误或该用户无可用菜单，请刷新页面。" + data);
        //        },
        //        complete: function () {
        //            //$("#menutemplate").remove();
        //        },
        //        success: function (result) {
        //            //alert(result);
        //            $("#divtest").html(result);
        //        }
        //    });
        //}

        function loginout() {
            $.get("ashx/user_loginout.ashx?action=loginout",
          function (data) {
              var data = JSON.parse(data);
              switch (data.message) {
                  case "0001":
                      //var myBrowser = new WEBBROWSER();
                      //window.external.callform("1123","1", "<sdfdfd>", "test");
                      //myBrowser.Show("警告", "我要警告你!");
                      location.href = "/";
                      break;
                  case "?":
                      $.messager.show({
                          title: '提示信息',
                          msg: data.data,
                          showType: 'show'
                      });
                      break;
              }
          });
        }
        function callbackc(info) {
            alert(info);
        }
        /*资讯-添加*/
        function article_add(title, url) {
            var index = layer.open({
                type: 2,
                title: title,
                content: url
            });
            layer.full(index);
        }
        /*图片-添加*/
        function picture_add(title, url) {
            var index = layer.open({
                type: 2,
                title: title,
                content: url
            });
            layer.full(index);
        }
        /*产品-添加*/
        function product_add(title, url) {
            var index = layer.open({
                type: 2,
                title: title,
                content: url
            });
            layer.full(index);
        }
        /*用户-添加*/
        function member_passwork() {
            layer_show("修改个人信息", "newbasehtml/mruser_password.html?action=edit&id=" + HCUser.HCUide, "500", "500");
        }
    </script>

</body>
</html>
